knitr::opts_chunk$set(echo = FALSE) library(tidyverse)
Packeges - TAM, mirt - eRm, lme4 - flirt [@Jeon.2016]
# data_spm <- rio::import("../data/data_spm.rda")
# mod1PL <- TAM::tam.mml(resp=data_spm)
x <- c(F, rep(T, 8)) p <- round(sum(x)/length(x), 2) se <- sqrt(p*(1-p)/length(x)) p_lci <- max(0, p-1.96*se) %>% round(2) p_uci <- min(1, p+1.96*se) %>% round(2) p_val <- (pbinom(1, 9, .5)+1-pbinom(8, 9, .5)) %>% round(3)
data <- tibble::tribble( ~"Aspekt", ~"Klassisch / Frequentistisch", ~"Bayes'sch / Bayesianisch", "Wahrscheinlichkeit", "relative Häufigkeit", "Grad persönlicher Überzeugung", "Vorannahme", "Münze fair", "Münze fair (SD = .10)", ) knitr::kable(data)
data <- tibble::tribble( ~"Aspekt", ~"Klassisch / Frequentistisch", ~"Bayes'sch / Bayesianisch", "Wahrscheinlichkeit", "relative Häufigkeit", "Grad persönlicher Überzeugung", "Vorannahme", "Münze fair", "Münze fair (SD = .10)", "P(X=1) =", paste0(p, " [", p_lci, ", ", p_uci, "]"), "", "Hypothesentest", as.character(p_val), "", "Entscheidung", "nicht fair", "" ) knitr::kable(data)
data <- tibble::tribble( ~"Aspekt", ~"Klassisch / Frequentistisch", ~"Bayes'sch / Bayesianisch", "Wahrscheinlichkeit", "relative Häufigkeit", "Grad persönlicher Überzeugung", "Vorannahme", "Münze fair", "Münze fair (SD = .10)", "P(X=1) =", paste0(p, " [", p_lci, ", ", p_uci, "]"), "", "Hypothesentest", as.character(p_val), "", "Entscheidung", "nicht fair", "" ) knitr::kable(data)
data <- tibble::tribble( ~"Aspekt", ~"Klassisch / Frequentistisch", ~"Bayes'sch / Bayesianisch", "Wahrscheinlichkeit", "relative Häufigkeit", "Grad persönlicher Überzeugung", "Vorannahme", "Münze fair", "Münze fair (SD = .29)", "P(X=1) =", paste0(p, " [", p_lci, ", ", p_uci, "]"), "", "Hypothesentest", as.character(p_val), "", "Entscheidung", "nicht fair", "" ) knitr::kable(data)
<
summary(cars)
plot(pressure)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.